﻿/*
* 作者:haojielyb
* 邮箱:haojielyb@qq.com
*/

using Haojielyb.Swagger2md.Middleware;
using Microsoft.AspNetCore.Builder;
using System;
using System.Collections.Generic;
using System.Text;

namespace Haojielyb.Swagger2md.Extensions
{
    public static class Swagger2mdMiddlewareExtension
    {
        public static IApplicationBuilder UseSwagger2md(
           this IApplicationBuilder builder)
        {
            return 
                builder.UseMiddleware<Swagger2mdMiddleware>();
          
        }
    }
}